/**
 *
 */
package com.androidnetframe.exception;

import android.view.View;

/**
 * @author 何强
 *         2016-1-5
 */
public class CodeTypeObject {
    public static final int loadding = TypeCode.requestNetLoadding;
    public static final int noNet = TypeCode.NoNet;
    public static final int connectFailed = TypeCode.ConnectFailed;
    public static final int noData = TypeCode.NoData;
    /**
     * 将要展示的那个布局
     */
    public View view;
    public int codeType = connectFailed;
    public int buttonId = -1;
    /**
     * true：有刷新按钮
     * false：没有刷新按钮
     */
    public boolean haveRefreshButton = true;
    /**
     * true:该View的显示是短暂的
     * false：该View的显示是长时间的
     */
    public boolean shortShowView = false;
    /**
     * 是否以Toast的形式展示
     */
    public boolean isDerectShow = true;
}